﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateHtmlPrompt.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Create.CreateHtmlPrompt" %>
<html>
<head>
<title>生成文件</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/box.css" rel="stylesheet" type="text/css" media="all" />
<script language="javascript" type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
    $(function () {
        $("#iptSubmit").click(function () {
            var idstart = $.trim($("#idstart").val());
            var idend = $.trim($("#idend").val());
            if (isNaN(idstart) || isNaN(idend)) {
                alert("请输入正确的数字");
            }
            else {
                $("#loading").innerHTML = "<div class='box'><div class='ibox' style='width:0px;'></div></div><div class='dbox'>ID范围：" + idstart + "-" + idend + " &nbsp;&nbsp;&nbsp; 百分比：0%</div>";
                $("#frmCreateHtmlAjax").attr("src","CreateHtmlAjax.aspx?type=id&idstart=" + idstart + "&idend=" + idend);
            }
        });
    });
</script>
</head>
<body>
<table style="width:100%; height:100%" border="0">
<form id="form1" runat="server">
 <tr>
   <td align="center" valign="middle">
    <table id="msg_tab" style="border:solid 1px #ddd" align="center" cellpadding="0" cellspacing="10" >
        <tr>
          <td>
            <div id="loading" style=" text-align:left;">
              <asp:Literal ID="litDiv" runat="server"></asp:Literal>
            </div>
          </td>
        </tr>
        <asp:Literal ID="litFrame" runat="server"></asp:Literal>
    </table>
   </td>
  </tr>
</form>
</table>    
</body>
</html>